package com.wish.wishhouse_resource.service.impl;

import com.wish.wishhouse_resource.entity.TbRoomReservation;
import com.wish.wishhouse_resource.mapper.TbRoomReservationMapper;
import com.wish.wishhouse_resource.service.ITbRoomReservationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import dto.houseResourceDto.ReservationDto;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 预约房源表 服务实现类
 * </p>
 *
 * @author zhangshuxin
 * @since 2021-03-29
 */
@Service
public class TbRoomReservationServiceImpl extends ServiceImpl<TbRoomReservationMapper, TbRoomReservation> implements ITbRoomReservationService {


    @Override
    public List<TbRoomReservation> listAll(ReservationDto reservationDto) {
        return baseMapper.listAll(reservationDto);
    }
}
